package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojo.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

import java.util.List;

/**
 * @author by jojo
 * @Date 2022/2/26
 * @Description
 */
public interface AdSensitiveService extends IService<AdSensitive> {

    ResponseResult deleteById(Integer id);

    ResponseResult findByNameAndPage(SensitiveDTO sensitiveDTO);

    ResponseResult addSensitive(AdSensitive sensitive);

    ResponseResult updateBySensitive(AdSensitive sensitive);

    ResponseResult<List<String>> findByList();
}
